import request from '@/utils/request'

// 查询LP门户操作记录列表
export function listLpOperationLog(query) {
  return request({
    url: '/operationLog/lpOperationLog/list',
    method: 'get',
    params: query
  })
}

/**
 * 综合列表
 */
export function listLpOperationLogAll(query) {
  return request({
    url: '/operationLog/lpOperationLog/listAll',
    method: 'get',
    params: query
  })
}

/**
 * 综合列表界面下拉
 */
export function selectPage() {
  return request({
    url: '/operationLog/lpOperationLog/selectPage',
    method: 'get'
  })
}

/**
 * selectFund
 */
export function selectFund() {
  return request({
    url: '/operationLog/lpOperationLog/selectFund',
    method: 'get'
  })
}

// 查询LP门户操作记录详细
export function getLpOperationLog(id) {
  return request({
    url: '/operationLog/lpOperationLog/' + id,
    method: 'get'
  })
}

// 保存LP门户操作记录
export function saveLpOperationLog(data) {
  return request({
    url: '/operationLog/lpOperationLog/save',
    method: 'post',
    data: data
  })
}

// 删除LP门户操作记录
export function delLpOperationLog(id) {
  return request({
    url: '/operationLog/lpOperationLog/' + id,
    method: 'delete'
  })
}

// 导出LP门户操作记录
export function exportLpOperationLog(query) {
  return request({
    url: '/operationLog/lpOperationLog/export',
    method: 'get',
    params: query
  })
}
